package com.topisv.tms.entity;

import java.util.Date;
import java.util.List;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

@Entity
@Table(name = "shipped_box")
public class ShippedBox extends IdEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	
	private int ordenoQty;//订单数量
	@Column(name="ordeno_qty")
	public int getOrdenoQty() {
		return ordenoQty;
	}
	public void setOrdenoQty(int ordenoQty) {
		this.ordenoQty = ordenoQty;
	}
	private List<ShippedBoxSkus> shippedBoxSkus;
	@Transient
	public List<ShippedBoxSkus> getShippedBoxSkus() {
		return shippedBoxSkus;
	}
	public void setShippedBoxSkus(List<ShippedBoxSkus> shippedBoxSkus) {
		this.shippedBoxSkus = shippedBoxSkus;
	}
	private String boxCode;// varchar(20) NOT NULL COMMENT '出库批次编号',

	private String batchCode;// varchar(64) NOT NULL COMMENT '出库批次',
	private String type;// varchar(2046) DEFAULT NULL COMMENT '箱子类型 单件single 多件
						// ',
	private String status;// varchar(30) NOT NULL COMMENT
							// '状态：可选值:已经处理finish、未处理pending',
	private Date createDate;// date DEFAULT NULL COMMENT '生成时间',
	private Date updateDate;// date DEFAULT NULL COMMENT '处理时间',
	
	private int skuQty;
	private int skuType;
	
	private String index;
	@Transient
	public String getIndex() {
		return index;
	}
	public void setIndex(String index) {
		this.index = index;
	}
	@Column(name="sku_qty")
	public int getSkuQty() {
		return skuQty;
	}
	public void setSkuQty(int skuQty) {
		this.skuQty = skuQty;
	}
	@Column(name="sku_type")
	public int getSkuType() {
		return skuType;
	}
	public void setSkuType(int skuType) {
		this.skuType = skuType;
	}
	@Column(name="box_code")
	public String getBoxCode() {
		return boxCode;
	}
	public void setBoxCode(String boxCode) {
		this.boxCode = boxCode;
	}
	@Column(name="batch_code")
	public String getBatchCode() {
		return batchCode;
	}
	public void setBatchCode(String batchCode) {
		this.batchCode = batchCode;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	@Column(name="create_date")
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	@Column(name="update_date")
	public Date getUpdateDate() {
		return updateDate;
	}
	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}
	public String getReserve() {
		return reserve;
	}
	public void setReserve(String reserve) {
		this.reserve = reserve;
	}
	private String reserve;// varchar(64) DEFAULT NULL COMMENT '备用字段',

}
